//
//  CLReadTextFastParser.h
//  CLBrowser
//
//  Created by 梁慧聪 on 2022/8/13.
//

#import <Foundation/Foundation.h>
#import "CLReadModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface CLReadTextFastParser : NSObject
/// 获取单个指定章节
+ (CLReadChapterModel *)parser:(CLReadModel *)readModel chapterid:(NSString *)chapterid;
/// 异步解析本地链接
///
/// - Parameters:
///   - url: 本地文件地址
///   - completion: 解析完成
+ (void)parser:(NSURL *)url completion:(CLParserCompletion)completion;
@end

NS_ASSUME_NONNULL_END
